<script>
/**
 * @desc 首页的搜索框,但是没有搜索功能,只是跳转到另一个用搜索功能的页面
 */

import { navTo } from '@/utils'
export default {
  name: 'home-search-bar',
  methods: { navTo }
}
</script>

<template>
  <div class="home-search-bar">
    <div class="search-box" @click="navTo('travel-list')">搜索目的地/旅游路线</div>
  </div>
</template>

<style lang="scss" scoped>
.home-search-bar {
  background-color: #fff;
  padding: 10px;

  .search-box {
    padding: 4px 10px;
    font-size: 16px;
    line-height: 2;
    border-radius: 5px;
    text-align: center;
    color: $gray-font-color;
    background-color: $main-background-color;
  }
}
</style>
